home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 28
/
Aminet 28 (1998)(GTI - Schatztruhe)[!][Dec 1998].iso
/
Aminet
/
dev
/
amos
/
AMOSList-0998.lzh
/
AMOSLIST
/
000012_bounce-amos-li…net@onelist.com_Tue Sep 1 18:35:49 1998.msg
< prev
next >
Wrap
Text File
|
1998-10-01
|
8KB
|
371 lines
>From bounce-amos-list--870-mcox=access.digex.net@onelist.com Tue Sep 1 18:35:49 1998
Received: from onelist.com (pop.onelist.com [209.207.135.253])
by pony-2.mail.digex.net (8.8.8/8.8.8) with SMTP id SAA13637
for <mcox@access.digex.net>; Tue, 1 Sep 1998 18:35:48 -0400 (EDT)
Received: (qmail 21133 invoked by alias); 1 Sep 1998 22:33:19 -0000
Received: (qmail 21048 invoked from network); 1 Sep 1998 22:33:17 -0000
Received: from unknown (HELO neodymium.btinternet.com) (194.73.73.83) by pop.onelist.com with SMTP; 1 Sep 1998 22:33:17 -0000
Received: from np5gt [195.171.236.153] by neodymium.btinternet.com with smtp (Exim 1.70 #1) id 0zDz0T-0001p3-00; Tue, 1 Sep 1998 23:34:33 +0100
Message-ID: <002201bdd5f8$c16884a0$99ecabc3@np5gt>
From: "John Glanville" <John.Glanville@btinternet.com>
To: <amos-list@onelist.com>
Date: Tue, 1 Sep 1998 23:33:07 +0100
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 4.72.3110.1
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Mailing-List: list amos-list@onelist.com; contact http://www.onelist.com
Delivered-To: mailing list amos-list@onelist.com
Precedence: bulk
Reply-to: amos-list@onelist.com
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_0018_01BDD600.DF67AE60"
Subject: [amos-list] I have SNOW Idea What I'm on about!
Status: O
X-Status:
From: "John Glanville" <John.Glanville@btinternet.com>
This is a multi-part message in MIME format.
------=_NextPart_000_0018_01BDD600.DF67AE60
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
I hate People who release Progs and say "This Has not Been tested...."
So here goes... "This Has Not Been Tested!"
So email me if it goes wrong... Update Coming soon...
Hide On=20
Screen Open 0,320,256,64,Lowres
Flash Off=20
Curs Off=20
Cls 0
C=3D2
NU=3D50
Dim X#(NU),Y#(NU),M#(NU),D#(NU),KEY#(NU),H(320)
For I=3D0 To NU
X#(I)=3DRnd(320)
D#(I)=3DRnd(4)-2
Next I
YM=3D200
Ink 5
Bar 0,YM+1 To 320,256
Do=20
For I=3D0 To NU
' Randomablity Variable Being Used...=20
' Lower the 980 for More Snow at a time....!=20
If KEY#(I)>980
' The Unplot.... Get Rid of the snow 2 B Updated...
F Plot X#(I),Y#(I),0
' Check if X axis Movement has gone 2 an Extreeme + or -....=20
If M#(I)=3DD#(I)
' If so Reset the Target Variable.....=20
D#(I)=3D(Rnd(2)+1)*(-Sgn(D#(I)))
Else=20
' If not Try and Reach the Target Variable (D#) 4 next Time!=20
If M#(I)<D#(I)
M#(I)=3DM#(I)+Rnd(1)+0.5
Else=20
M#(I)=3DM#(I)-Rnd(1)-0.5
End If=20
End If=20
' Randomized amounts of falling speed....
YV=3DRnd(6)+1
' Add the X axis Movement Variable 2 the X axis Variable...
X#(I)=3DX#(I)+M#(I)
' Check 4 X Over Screen Limits....
If X#(I)>320
X#(I)=3DX#(I)-320
End If=20
If X#(I)<0
X#(I)=3D320+X#(I)
End If=20
' Check And C if Snow Has Landed...
If Y#(I)+YV>YM-H(X#(I))
' See How High the snow is below the new Flake...
If H(X#(I))>Rnd(4)+2
XV=3DRnd(2)-1
X#(I)=3DX#(I)+XV
End If=20
' The Dead SnowFlake...
F Plot X#(I),YM-H(X#(I)),C
' Reset SnowFlake
H(X#(I))=3DH(X#(I))+1
KEY#(I)=3D0
X#(I)=3DRnd(320)
Y#(I)=3D0
Else=20
' Plot if SnowFlake in Air...
Y#(I)=3DY#(I)+YV
F Plot X#(I),Y#(I),C
End If=20
Else=20
' Randomability Variable That a SnowFlake will Fall...=20
KEY#(I)=3DRnd(1000)
End If=20
Next I
Loop
And Not a Procedure in sight 2 slow Ne thing down!
The Snow Piling up doesn't work properley... I mean have U ever Ceen =
Spikey Snow? exactly... The version I'm on now Piles the snow so that if =
there is 2 much...=20
They Form nice little piles....
I'm also working on a Isometric Version... And Maybe Even a 3d one!
Along with my 3d ShadeClusters Demo!
Bye till next Time... And remeber... A cucumber sandwich may not Save =
the world on its own... But with Salad cream any thing is possible!=20
------=_NextPart_000_0018_01BDD600.DF67AE60
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>
<META content=3Dtext/html;charset=3Diso-8859-1 =
http-equiv=3DContent-Type>
<META content=3D'"MSHTML 4.72.3110.7"' name=3DGENERATOR>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><B><FONT face=3D"Calisto MT">
<P>I hate People who release Progs and say "This Has not Been=20
tested...."</P>
<P>So here goes... "This Has Not Been Tested!"</P>
<P>So email me if it goes wrong... Update Coming soon...</P>
<P>Hide On </P>
<P>Screen Open 0,320,256,64,Lowres</P>
<P>Flash Off </P>
<P>Curs Off </P>
<P>Cls 0</P>
<P>C=3D2</P>
<P>NU=3D50</P>
<P>Dim X#(NU),Y#(NU),M#(NU),D#(NU),KEY#(NU),H(320)</P>
<P>For I=3D0 To NU</P>
<P>X#(I)=3DRnd(320)</P>
<P>D#(I)=3DRnd(4)-2</P>
<P>Next I</P>
<P>YM=3D200</P>
<P>Ink 5</P>
<P>Bar 0,YM+1 To 320,256</P>
<P>Do </P>
<P>For I=3D0 To NU</P>
<P></P>
<P>' Randomablity Variable Being Used... </P>
<P>' Lower the 980 for More Snow at a time....! </P>
<P></P>
<P>If KEY#(I)>980</P>
<P></P>
<P>' The Unplot.... Get Rid of the snow 2 B Updated...</P>
<P></P>
<P>F Plot X#(I),Y#(I),0</P>
<P></P>
<P>' Check if X axis Movement has gone 2 an Extreeme + or -.... </P>
<P></P>
<P>If M#(I)=3DD#(I)</P>
<P></P>
<P>' If so Reset the Target Variable..... </P>
<P></P>
<P>D#(I)=3D(Rnd(2)+1)*(-Sgn(D#(I)))</P>
<P>Else </P>
<P></P>
<P>' If not Try and Reach the Target Variable (D#) 4 next Time! </P>
<P></P>
<P>If M#(I)<D#(I)</P>
<P>M#(I)=3DM#(I)+Rnd(1)+0.5</P>
<P>Else </P>
<P>M#(I)=3DM#(I)-Rnd(1)-0.5</P>
<P>End If </P>
<P></P>
<P>End If </P>
<P></P>
<P>' Randomized amounts of falling speed....</P>
<P></P>
<P>YV=3DRnd(6)+1</P>
<P></P>
<P>' Add the X axis Movement Variable 2 the X axis Variable...</P>
<P></P>
<P>X#(I)=3DX#(I)+M#(I)</P>
<P></P>
<P>' Check 4 X Over Screen Limits....</P>
<P></P>
<P>If X#(I)>320</P>
<P>X#(I)=3DX#(I)-320</P>
<P>End If </P>
<P>If X#(I)<0</P>
<P>X#(I)=3D320+X#(I)</P>
<P>End If </P>
<P></P>
<P>' Check And C if Snow Has Landed...</P>
<P></P>
<P>If Y#(I)+YV>YM-H(X#(I))</P>
<P></P>
<P>' See How High the snow is below the new Flake...</P>
<P></P>
<P>If H(X#(I))>Rnd(4)+2</P>
<P>XV=3DRnd(2)-1</P>
<P>X#(I)=3DX#(I)+XV</P>
<P>End If </P>
<P></P>
<P>' The Dead SnowFlake...</P>
<P></P>
<P>F Plot X#(I),YM-H(X#(I)),C</P>
<P></P>
<P>' Reset SnowFlake</P>
<P></P>
<P>H(X#(I))=3DH(X#(I))+1</P>
<P>KEY#(I)=3D0</P>
<P>X#(I)=3DRnd(320)</P>
<P>Y#(I)=3D0</P>
<P></P>
<P>Else </P>
<P>' Plot if SnowFlake in Air...</P>
<P></P>
<P>Y#(I)=3DY#(I)+YV</P>
<P>F Plot X#(I),Y#(I),C</P>
<P></P>
<P>End If </P>
<P>Else </P>
<P></P>
<P>' Randomability Variable That a SnowFlake will Fall... </P>
<P></P>
<P>KEY#(I)=3DRnd(1000)</P>
<P></P>
<P>End If </P>
<P>Next I</P>
<P>Loop</P>
<P> </P>
<P>And Not a Procedure in sight 2 slow Ne thing down!</P>
<P>The Snow Piling up doesn't work properley... I mean have U ever Ceen =
Spikey=20
Snow? exactly... The version I'm on now Piles the snow so that if there =
is 2=20
much... </P>
<P>They Form nice little piles....</P>
<P>I'm also working on a Isometric Version... And Maybe Even a 3d =
one!</P>
<P>Along with my 3d ShadeClusters Demo!</P>
<P> </P>
<P>Bye till next Time... And remeber... A cucumber sandwich may not Save =
the=20
world on its own... But with Salad cream any thing is=20
possible! </P></B></FONT></DIV></BODY></HTML>
------=_NextPart_000_0018_01BDD600.DF67AE60--